package com.sean.designpatterns.structure.decorator;

import org.w3c.dom.css.Rect;

public class Main {

    public static void main(String[] args) {
        Circle circle = new Circle();
        Rectangle rectangle = new Rectangle();
        circle.draw();
        rectangle.draw();
        ShapeDecorator shapeDecorator = new RedShapeDecorator(circle);
        shapeDecorator.draw();
        ShapeDecorator shapeDecorator1 = new RedShapeDecorator(rectangle);
        shapeDecorator1.draw();
    }
}
